package com.diaohw.module.metadata.obj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diaohw.module.metadata.obj.Status;
import com.diaohw.platform.framework.db.obj.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
/**
 * <p>
 * 元数据信息
 * </p>
 *
 * @author D-Hw
 * @since 2025-04-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("META_")
@Schema(name = "MetaDO", description = "元数据信息")
public class MetaDO extends BaseModel<MetaDO> {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Schema(description = "名称")
    @TableField("NAME_")
    private String name;

    /**
     * 代码
     */
    @Schema(description = "代码")
    @TableField("CODE_")
    private String code;

    /**
     * 别名
     */
    @Schema(description = "别名")
    @TableField("ALIAS_")
    private String alias;

    /**
     * 状态
     */
    @Schema(description = "状态")
    @TableField("STATUS_")
    private Status status;

    /**
     * 版本号
     */
    @Schema(description = "版本号")
    @TableField("VERSION_")
    private String version;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @TableField("REMARK")
    private String remark;

}
